* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Some Time Later';
    src: url('SomeTimeLater.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    padding: 20px;
    font-family: "Arial", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-color: #6CC2D5;
}

body.main-page {
    background-image: url('photo/с1.jpg');
    color: #333;
}

h1 {
    color: #0A4D68;
    text-align: center;
    font-size: 42px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.6);
}

h2 {
    font-size: 24px;
    color: #073579;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    padding: 20px 0;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    overflow: visible;
}

.logo {
    position: relative;
    z-index: 101;
    margin-top: -15px;
    margin-bottom: -25px; 
    transform: scale(1.2);
}

.logo-img {
    width: 60px;      
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    padding: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: rotate(360deg) scale(1.1);
}

header {
    background: rgba(255, 255, 255, 0.75);
    padding: 15px;
    border-radius: 70px;
    margin-bottom: 15px; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    width: 75%;       
    margin-left: auto;  
    margin-right: auto;
    position: relative;
    z-index: 100;
    overflow: visible;
}

nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav a {
    display: inline-block;
    padding: 12px 25px;
    background: #073579;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 40px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    background: #FDFB00;
    color: #073579;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(253, 251, 0, 0.5);
    border-color: #073579;
}

nav a.active {
    background: #FDFB00;
    color: #073579;
    border-color: #073579;
    font-weight: 700;
}

.dropdown {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.dropbtn::after {
    content: '▼';
    font-size: 12px;
    margin-left: 5px;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: rgba(128, 204, 223, 0.98);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 2px solid rgba(255, 255, 255, 0.9);
    overflow: visible;
    padding-bottom: 3px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

.dropdown-content a {
    display: block;
    padding: 14px 25px;
    background: transparent;
    color: #073579;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid rgba(7, 53, 121, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-content a:last-child {
    border-bottom: 2px solid rgba(7, 53, 121, 0.15);
}

.dropdown-content a:last-child:hover {
    border-bottom: 2px solid #073579; 
}

.dropdown-content a:hover {
    background: #FDFB00;
    color: #073579;
    transform: scale(1.05); 
    box-shadow: 0 5px 15px rgba(253, 251, 0, 0.4);
    border-radius: 10px;
    margin: 2px 3px;
    width: auto;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(128, 204, 223, 0.98);
}

.bubble-container {
    position: relative;
    padding: 60px 20px 40px;
    margin: 0 auto;
    max-width: 900px;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bubble-container::before,
.bubble-container::after,
.bubble-text::before,
.bubble-text::after
{
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    backdrop-filter: blur(3px);
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.8);
    z-index: 1;
    pointer-events: none;
    animation: float 12s infinite ease-in-out;
}

.bubble-container::before {
    width: 120px;
    height: 120px;
    top: 20px;
    left: 10px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(173, 216, 230, 0.3) 70%);
    border-color: rgba(255, 255, 255, 0.7);
    animation-delay: 0s;
    animation-duration: 14s;
}

.bubble-container::after {
    width: 180px;
    height: 180px;
    bottom: 20px;
    right: 10px;
    background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 182, 193, 0.25) 70%);
    border-color: rgba(255, 255, 255, 0.65);
    animation-delay: 2s;
    animation-duration: 16s;
}

.bubble-text::before {
    width: 90px;
    height: 90px;
    top: 80px;
    right: 40px;
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.9) 0%, rgba(144, 238, 144, 0.25) 70%);
    border-color: rgba(255, 255, 255, 0.7);
    animation-delay: 4s;
    animation-duration: 13s;
    pointer-events: auto;
}

.bubble-text::after {
    width: 140px;
    height: 140px;
    bottom: 70px;
    left: 20px;
    background: radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 224, 0.3) 70%);
    animation-delay: 6s;
    animation-duration: 15s;
    pointer-events: auto;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-8px, -12px) scale(1.03);
    }
    50% {
        transform: translate(10px, 8px) scale(0.98);
    }
    75% {
        transform: translate(6px, 14px) scale(1.02);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

.bubble-text:hover:before {
    animation: pop 0.3s ease-out forwards;
    opacity: 0;
    transform: scale(1.5);
}

.bubble-text:hover:after {
    animation: pop 0.3s ease-out forwards;
    opacity: 0;
    transform: scale(1.5);
}

@keyframes pop {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    20% {
        transform: scale(1.3) rotate(10deg);
        opacity: 0.8;
        box-shadow: 0 0 60px rgba(255, 255, 255, 0.9);
    }
    40% {
        transform: scale(1.5) rotate(-10deg);
        opacity: 0.5;
        box-shadow: 0 0 80px rgba(255, 255, 255, 0.8);
    }
    60% {
        transform: scale(0.8) rotate(15deg);
        opacity: 0.3;
        border-width: 6px;
    }
    80% {
        transform: scale(0.4) rotate(-20deg);
        opacity: 0.1;
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    }
    100% {
        transform: scale(0) rotate(30deg);
        opacity: 0;
        box-shadow: none;
    }
}

.content-card.bubble-text {
    background: radial-gradient(circle at 30% 40%, 
    rgba(255, 255, 255, 0.8) 0%,
    rgba(230, 245, 255, 0.75) 60%,
    rgba(210, 235, 255, 0.7) 100%);
    backdrop-filter: blur(12px);
    border-radius: 70px;
    padding: 50px 60px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.25),
                0 0 0 6px rgba(255, 255, 255, 0.7),
                inset 0 0 80px rgba(255, 255, 255, 0.6);
    border: 5px solid rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    margin: 25px auto 0;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    animation: shine 14s infinite alternate ease-in-out;
}

@keyframes shine {
    0% {
        background: radial-gradient(circle at 25% 30%, 
    rgba(255, 255, 255, 0.8) 0%,
    rgba(230, 245, 255, 0.75) 60%,
    rgba(210, 235, 255, 0.7) 100%);
    }
    50% {
        background: radial-gradient(circle at 60% 50%, 
    rgba(255, 255, 255, 0.8) 0%,
    rgba(220, 240, 255, 0.75) 60%,
    rgba(200, 230, 255, 0.7) 100%);
    }
    100% {
        background: radial-gradient(circle at 40% 70%, 
    rgba(255, 255, 255, 0.8) 0%,
    rgba(240, 250, 255, 0.75) 60%,
    rgba(220, 240, 255, 0.7) 100%);
    }
}

.bubble-text h1 {
    font-family: 'Some Time Later', sans-serif;
    font-size: 46px;
    margin-bottom: 30px;
    color: #0A4D68;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.8);
}

.bubble-text h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #05445E;
    line-height: 1.5;
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.7);
}

.bubble-text p {
    font-size: 20px;
    line-height: 1.8;
    color: #022457;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
}

.social-link {
    text-align: center;
    margin-top: 35px;
    font-size: 22px;
    font-weight: 600;
    color: #05445E;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
}

.social-link a {
    display: inline-block;
    padding: 14px 35px;
    background: rgba(7, 53, 121, 0.9);
    color: white;
    text-decoration: none;
    border-radius: 60px;
    margin-left: 15px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-size: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.social-link a:hover {
    background: rgba(253, 251, 0, 0.9);
    color: #073579;
    border-color: #073579;
    transform: scale(1.05);
}

footer {
    max-width: 900px;
    margin: 20px auto 0;
    text-align: center;
    color: #073579;
    padding: 10px 0;
    width: 100%;
}

footer p {
    margin: 5px 0;
    font-size: 18px;
    text-align: center;
}

footer a {
    color: #073579;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 25px;
    border-radius: 40px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
}

footer a:hover {
    color: #FDFB00;
    background: #073579;
    border-color: #FDFB00;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 60px 40px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.profile-photo {
    width: 400px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 5px solid white;
    position: relative;
    z-index: 20;
    margin-right: -50px; 
    transform: scale(1.05);
}

.about-text {
    flex: 1;
    background: radial-gradient(circle at 30% 40%, 
    rgba(255, 255, 255, 0.85) 0%,
    rgba(230, 245, 255, 0.8) 60%,
    rgba(210, 235, 255, 0.75) 100%);
    backdrop-filter: blur(12px);
    border-radius: 70px;
    padding: 50px 60px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.25),
                0 0 0 6px rgba(255, 255, 255, 0.7),
                inset 0 0 80px rgba(255, 255, 255, 0.6);
    border: 5px solid rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 10;
}

.about-text h1 {
    font-family: 'Some Time Later', sans-serif;
    font-size: 46px;
    margin-bottom: 20px;
    color: #0A4D68;
    text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.8);
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #05445E;
    line-height: 1.4;
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.7);
}

.about-text p {
    font-size: 20px;
    line-height: 1.8;
    color: #022457;
    margin-bottom: 20px;
    text-align: justify;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
}


.scientific-paper {
    max-width: 1000px;
    margin: 30px auto;
    background: white;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
}






.paper-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eaeef2;
    z-index: 1;
    position: relative;
}

.paper-title {
    font-size: 38px;
    color: #073579;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.3;
}

.paper-title small {
    font-size: 36px;
    color: #2c5282;
    display: block;
    margin-top: 10px;
    font-weight: 400;
    font-family: 'Arial', sans-serif;
}

.paper-author {
    font-size: 22px;
    color: #1e3a5f;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.paper-institution {
    font-size: 18px;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 20px;
}

.paper-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    color: #073579;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d0dbe6;
    font-weight: 600;
}

.subsection-title {
    font-size: 22px;
    color: #2c5282;
    margin: 25px 0 15px;
    font-weight: 500;
}

.paper-section p {
    text-indent: 30px;
    margin-bottom: 20px;
    text-align: justify;
    font-size: 17px;
    color: #2d3748;
}

.scientific-list {
    margin: 15px 0 20px 30px;
    list-style-type: disc;
}

.scientific-list li {
    margin-bottom: 8px;
    font-size: 17px;
    color: #2d3748;
    line-height: 1.6;
}

.table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    border: 0px solid #e2e8f0;
}

.scientific-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background: white;
}

.scientific-table caption {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 12px;
    text-align: center;
}

.scientific-table th {
    background: #f0f4f8;
    color: #073579;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border-bottom: 2px solid #cbd5e0;
}

.scientific-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #2d3748;
}

.scientific-table tr:hover {
    background: #f8fafc;
}

.table-note {
    font-size: 14px;
    color: #718096;
    background: #f7fafc;
    padding: 12px !important;
    font-style: italic;
}

.citation-box {
    background: #f8fafc;
    border-left: 4px solid #073579;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 12px 12px 0;
}

.citation-title {
    font-weight: 600;
    color: #073579;
    margin-bottom: 12px;
    font-size: 18px;
}

.figure-container {
    margin: 40px 0;
    text-align: center;
}

.figure-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    background: white;
    padding: 10px;
}

.figure-caption {
    margin-top: 15px;
    font-size: 16px;
    color: #4a5568;
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.figure-caption a {
    color: #073579;
    text-decoration: none;
    border-bottom: 1px dotted #80CCDF;
}

.figure-caption a:hover {
    color: #FDFB00;
    background: #073579;
    padding: 2px 6px;
    border-radius: 15px;
    border-bottom: none;
}

.figure-row {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.figure-row .figure-container {
    flex: 1 1 300px;
    margin: 0;
}

.references {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #eaeef2;
}

.reference-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    counter-reset: reference-counter;
}

.reference-list li {
    position: relative;
    padding: 12px 0 12px 50px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    border-bottom: 1px solid rgba(128, 204, 223, 0.2);
    transition: all 0.2s ease;
}

.reference-list li:hover {
    background: rgba(128, 204, 223, 0.05);
    padding-left: 55px;
}

.reference-list li::before {
    counter-increment: reference-counter;
    content: "[" counter(reference-counter) "]";
    position: absolute;
    left: 0;
    top: 12px;
    color: #073579;
    font-weight: 600;
    font-size: 16px;
    background: rgba(128, 204, 223, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 30px;
    text-align: center;
}

.reference-link {
    color: #1e3a5f;
    text-decoration: none;
    transition: all 0.2s ease;
    word-break: break-word;
}

.reference-link:hover {
    color: #FDFB00;
    background: #073579;
    padding: 2px 6px;
    border-radius: 15px;
    border-bottom: none;
}

.supplemental-list {
    counter-reset: sup-counter;
    list-style: none;
    padding-left: 0;
}

.supplemental-list li {
    counter-increment: sup-counter;
    margin-bottom: 10px;
    padding-left: 40px;
    position: relative;
}

.supplemental-list li::before {
    content: "S" counter(sup-counter);
    position: absolute;
    left: 0;
    color: #073579;
    font-weight: 600;
}

.taxonomy-list {
    margin: 30px 0;
    padding: 25px;
    background: rgba(128, 204, 223, 0.05);
    border-radius: 20px;
    border-left: 4px solid #073579;
}

.taxonomy-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.taxonomy-ul li {
    padding: 12px 15px;
    border-bottom: 1px dashed rgba(128, 204, 223, 0.2);
    font-size: 18px;
    transition: all 0.2s ease;
}

.taxonomy-ul li:hover {
    background: rgba(128, 204, 223, 0.05);
    transform: translateX(10px);
    border-radius: 10px;
}

.taxonomy-rank {
    display: inline-block;
    min-width: 120px;
    color: #073579;
    font-weight: 600;
}

.taxonomy-ul em {
    color: #1e3a5f;
    font-style: italic;
}
